<?php
 class FLEA_Rbac_Exception_InvalidACTFile extends FLEA_Exception { var $actFilename; var $controllerName; var $act; function FLEA_Rbac_Exception_InvalidACTFile($actFilename, $act, $controllerName = null) { $this->actFilename = $actFilename; $this->act = $act; $this->controllerName = $controllerName; if ($controllerName) { $code = 0x0701002; $msg = sprintf(_ET($code), $actFilename, $controllerName); } else { $code = 0x0701003; $msg = sprintf(_ET($code), $actFilename); } parent::FLEA_Exception($msg, $code); } } 